package com.iweb.dao;

import com.common.model.Page;
import com.iweb.pojo.Ticket;

import java.io.Serializable;
import java.util.List;

public interface TicketsDao {

    void deleteById(Serializable ticket_id) throws Exception;

    void updateById(Ticket tickets_sum) throws Exception;

    List<Ticket> findAll() throws Exception;

    Ticket findById(Serializable ticket_id) throws Exception;

    long selectCount()throws Exception;

    List<Ticket> findAll(Page page)throws Exception;

    Ticket findTicketById(String ticket_id) throws Exception;
}
